package com.springboot.sba.D9_DynamicTask.bean;

/**
 * @description:
 * @author: ZZZ
 * @time: 2021/8/8 18:19
 */
public class ScheduledVo {

    private int id;
    private String taskKey; //'任务key值（使用bean名称）',
    private String name;//'任务名称',
    private String cron;//'任务表达式',
    private int status; //'状态(0.禁用; 1.启用)'
    private String createTime;//创建时间
    private String updateTime;//更新时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTaskKey() {
        return taskKey;
    }

    public void setTaskKey(String taskKey) {
        this.taskKey = taskKey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ScheduledVo{" +
                "id=" + id +
                ", taskKey='" + taskKey + '\'' +
                ", name='" + name + '\'' +
                ", cron='" + cron + '\'' +
                ", status=" + status +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}

